'use strict';

function router(app) {
  app.router.post('/login', app.controller.userAdmin.login);
  app.router.post('/getACS', app.controller.userAdmin.getACS);
  app.router.post('/dologin', app.controller.userAdmin.loginAuth);
  app.router.get('/useradminlist', app.controller.userAdmin.useradminlist);
  app.router.post('/useradmincreate', app.controller.userAdmin.userCreate);
  app.router.get('/useradmindelete', app.controller.userAdmin.userDelete);
  app.router.get('/usereditpassword', app.controller.userAdmin.userEditPassword);
  app.router.post('/bindrole', app.controller.userAdmin.bindrole);
  app.router.get('/getrolelist', app.controller.userAdmin.getrolelist);
}
module.exports = {
  router,
};
